﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace l1cs.server.templates
{
    class L1Drop
    {
        private static Logger _log = Logger.getLogger( typeof( L1Drop ).FullName );

        int _mobId;
        int _itemId;
        int _min;
        int _max;
        int _chance;

        public L1Drop( int mobId, int itemId, int min, int max, int chance )
        {
            _mobId = mobId;
            _itemId = itemId;
            _min = min;
            _max = max;
            _chance = chance;
        }

        /// <summary>
        /// ドロップチャンスを返す。
        /// </summary>
        /// <returns></returns>
        public int getChance()
        {
            return _chance;
        }

        /// <summary>
        /// アイテムIDを返す。
        /// </summary>
        /// <returns></returns>
        public int getItemid()
        {/*TTOK*/
            return _itemId;
        }

        public int getMax()
        {
            return _max;
        }

        public int getMin()
        {
            return _min;
        }

        public int getMobid()
        {
            return _mobId;
        }
    }
}
